<%@ Reference Control="~/Controls/GroupMsgTabs.ascx" %>
<%@ Page language="vb" Inherits="_2bMatesSite.groups_main" CodeFile="groups_main.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<%@ Register tagprefix="GroupMsgTabs" Tagname="GroupMsgTabs" Src="Controls/GroupMsgTabs.ascx" %>
<form id="Form1" method="post" runat="server">
	<table height="100%" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
		<tr>
			<td class="page_title" colspan="3"><asp:literal id="litGroupsMain" runat="server">Groups Main</asp:literal></td>
		</tr>
		<tr>
			<td class="main_table_border" vAlign="top" height="100%"> <!--width="556"-->
				<div class="content">
					<table cellSpacing="0" cellPadding="0" width="100%" border="0" class="main_text">
						<GroupMsgTabs:GroupMsgTabs id="ucGroupTabs" runat="server"></GroupMsgTabs:GroupMsgTabs>
						<tr>
							<td align="center" colSpan="6">
								<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
									<tr>
										<td class="small" colSpan="2" height="8">&nbsp;</td>
									</tr>
									<!-- BEGIN FEATURED GROUP -->	
									<tr>
										<td id="table_orange">
											<table cellspacing="0" cellpadding="0" width="100%" border="0">
												<tr>
													<td class="title_in"><asp:label id="lblFeaturedGroup" runat=server>Featured Group</asp:label></td>
													<td class="sign_up" align="right"><asp:hyperlink id="hlViewGroup" runat="server" cssclass="sign_up">View Group</asp:hyperlink>
													<asp:label id="lblSeparator" runat="server">|</asp:label>
													<asp:hyperlink id="hlJoinGroup" runat="server" cssclass="sign_up">Join Group</asp:hyperlink>&nbsp;&nbsp;</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td valign="top">
											<table cellspacing="0" cellpadding="0" width="100%" border="0" class="main_text">
												<tr>
													<td height="8" class="small">&nbsp;</td>
												</tr>
												<tr>
													<td width="150" valign="top"><asp:hyperlink id="hlGroupPicture" cssclass="small_image" runat="server" imageurl="../images/default_thumbnail.gif"></asp:hyperlink></td>
													<td>
														<p><asp:label id="lblName" runat="server" font-bold="True">Group Name:</asp:label>
															<asp:hyperlink id="hlGroupName" runat="server" cssclass="main_text_bold"></asp:hyperlink><br>
															<asp:label id="lblCategory" runat="server" font-bold="True">Category:</asp:label>
															<asp:hyperlink id="hlCategory" runat="server"  cssclass="main_text_bold"></asp:hyperlink></p>
														<p><asp:label id="lblType" runat="server" font-bold="True">Group Type:</asp:label>
															<asp:label id="lblGroupType" runat="server">Public</asp:label><br>
															<asp:label id="lblCreatedDate" runat="server" font-bold="True">Created:</asp:label>
															<asp:label id="lblCreated" runat="server">Label</asp:label><br>
															<asp:label id="lblLocationName" runat="server" font-bold="True">Location:</asp:label>
															<asp:label id="lblLocation" runat="server">Label</asp:label></p>
														<pre wrap style="word-wrap:break-word;"><asp:label id="lblAboutGroup" runat="server" font-bold="True">About Group:</asp:label> <asp:label id="lblAbout" runat="server">Label</asp:label></pre></td>
												</tr>
												<tr>
													<td height="20" class="small">&nbsp;</td>
												</tr>
											</table>
										</td>
									</tr>
									<!-- END FEATURED GROUP -->
									<tr>
										<td vAlign="top">
											<ASP:DATAGRID id="dgPopularGroups" runat="server" Width="100%" AllowSorting="True" CellPadding="0"
												PagerStyle-HorizontalAlign="Right" PagerStyle-Mode="NumericPages" GridLines="None" AutoGenerateColumns="False">
												<ItemStyle CssClass="data_grid" VerticalAlign="Top"></ItemStyle>
												<HeaderStyle CssClass="data_grid_header_orange" Height="21px"></HeaderStyle>
												<Columns>
													<asp:TemplateColumn>
														<HeaderStyle Wrap="False"></HeaderStyle>
														<itemstyle width="13%" cssclass="col_image"></itemstyle>
														<ItemTemplate>
															<asp:hyperlink id=hlGroupImage runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "GroupImg") %>' CssClass="small_image" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "URL") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "Name") %>'></asp:hyperlink>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn>
														<HeaderStyle Width="52%"></HeaderStyle>
														<ItemTemplate>
															<asp:label id="lblGroupName" runat="server" Font-Bold="True">Group Name:</asp:label>
															<asp:hyperlink id="lbName" CssClass="main_text_bold" runat="server" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "GroupURL") %>'>
																<%# DataBinder.Eval(Container.DataItem, "Name") %>
															</asp:hyperlink>
															<br>
															<asp:label id="Label1" runat="server" Font-Bold="True">Category:</asp:label>
															<asp:hyperlink id="lblCat" CssClass="main_text_bold" runat="server" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "CatURL") %>'>
																<%# DataBinder.Eval(Container.DataItem, "CatName") %>
															</asp:hyperlink><br>&nbsp;
															<pre style="word-wrap:break-word;"><asp:label id="lblAboutGroupValue" runat="server"><%# DataBinder.Eval(Container.DataItem, "About") %></asp:label></pre>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="Join">
														<HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:hyperlink id=lbJoin CssClass="main_text_bold" runat="server" Font-Bold="True" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "JoinURL") %>'>
															Join</asp:hyperlink>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="Members">
														<HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:label id="lblMembers" runat="server">
																<%# DataBinder.Eval(Container.DataItem, "Members") %>
															</asp:label>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="Created">
														<HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
														<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:label id="lblDate" runat="server">
																<%# DataBinder.Eval(Container.DataItem, "Date") %>
															</asp:label>
														</ItemTemplate>
													</asp:TemplateColumn>
												</Columns>
												<PagerStyle VerticalAlign="Top" Visible="False" HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
											</ASP:DATAGRID>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>						
			</td>
			<!-- BEGIN SKYSCRAPER ADVERTISEMENT -->	
			<!--
			<td class="small" width="10">&nbsp;</td>
			<td class="border_adv" vAlign="top" width="203" height="100%">
					<table cellSpacing="1" cellPadding="0" width="100%" border="0">
							<tr>
									<td class="small" width="10">&nbsp;</td>
									<td class="advertisement" width="193"><asp:Literal id="litSkyscraperAdvertisement" runat=server></asp:literal></td>
							</tr>
					</table>
			</td>-->
			<!-- END SKYSCRAPER ADVERTISEMENT -->	
		</tr>
	</table>
</form>
